import { message } from 'ant-design-vue';
import {getCategoryList} from '@/api/api'
async function getCategorys() {
    const  res :any = await getCategoryList;
    if (res.code != 200) {
        message.error(res.msg);
        return false;
    }
    return res.data;
}
export default getCategorys;